package com.example.wujinapi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wujinapi.entity.Favourites;
import com.example.wujinapi.entity.Noticsmessage;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

/**
 * (Noticsmessage)表服务接口
 *
 * @author makejava
 * @since 2023-07-10 22:32:40
 */
public interface NoticsmessageService extends IService<Noticsmessage> {
    void addNoticsmessage(Noticsmessage noticsmessage);
    void deleteNoticsmessage(int noticId);
    @MapKey("id")
    List<Map<String,Object>> getNoticsmessage(int pageNum, int pageSize);
}

